package com.zx.mes.hyl.common.pagemodel;

import java.io.Serializable;

/**
 * Created by hyl on 17/11/18.
 */
public class JsonResult<T> implements Serializable {

    /* 错误码 */
    private Integer code;

    /* 是否成功 */
    private boolean IS_SUCCESS;

    /* 提示信息 */
    private String msg;

    /* 具体内容 */
    private T data;

    /* 返回数据的量 */
    private Integer count;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public boolean isIS_SUCCESS() {
        return IS_SUCCESS;
    }

    public void setIS_SUCCESS(boolean IS_SUCCESS) {
        this.IS_SUCCESS = IS_SUCCESS;
    }
}
